package com.itcast.ssm.service;

import com.itcast.ssm.pojo.House;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 房屋信息 服务类
 * </p>
 *
 * @author 三人行
 * @since 2020-09-12
 */
public interface HouseService {

    public String uploadFile(Integer houseId, MultipartFile img);

    /**
     *
     */
    public String insert(House house);

    public List<House> findAll();

    public House findById(Integer houseId);

    public String update(House house);

    public Integer delete(Integer houseId);
}
